home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / C++ / Applications / PICSee Dust 1.01 / Secondary Source / PICS_Info.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-11-10  |  984 b   |  37 lines  |  [TEXT/CWIE]

  1. #ifndef PICS_INFO_H_
  2. #define PICS_INFO_H_
  3.  
  4. typedef struct {
  5.     short isColor;            // 0=b&w, 1=color
  6.     short depth;
  7.     short speed;            // Speed in fps (1-200)
  8.     short version;            // Currently 0
  9.     OSType creatorType;        // Creator type of application
  10.     long largestFrameSize;    // If non-zero, size of largest frame, in bytes
  11. } PICSInfo, *PICSInfoPtr, **PICSInfoHdl;
  12.  
  13.  
  14. // Extended PICS info structure
  15. typedef struct {
  16.     PICSInfo info;
  17. } ExtPICSInfo, *ExtPICSInfoPtr, **ExtPICSInfoHdl;
  18.  
  19. typedef PICSInfoHdl PICSInfoRsrcHdl;
  20. typedef ExtPICSInfoHdl ExtPICSInfoRsrcHdl;
  21.  
  22. // ---------------------------------------------------------------------------
  23.  
  24. /*
  25.     All of the routines assume you have already set the
  26.     file you want to read/save the PICSInfo via
  27.     UseResFile()
  28. */
  29.  
  30. PICSInfoRsrcHdl GetPICSInfo();
  31. void DisposePICSInfo(PICSInfoRsrcHdl picsInfo);
  32. Boolean SavePICSInfo(PICSInfoRsrcHdl picsInfo, Boolean isResource);
  33. PICSInfoHdl NewPICSInfo();
  34. PICSInfoRsrcHdl NewPICSInfoResource();
  35.  
  36.  
  37. #endif // PICS_INFO_H_